package com.zw.fre.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by zwz
 * date 2016/11/23
 * project com.zw.thy.controller
 */
@Controller
public class Hello {

    @RequestMapping("/hello")
    public String hello(Model model) {
        model.addAttribute("hello","from TemplateController.helloFtl");
        return "helloFtl";
    }

}
